﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace IronBrokers.InformationBroker.Model
{
    public class ViewModelBase : INotifyPropertyChanged
    {
        #region UpdateProperty
        public event PropertyChangedEventHandler PropertyChanged;

        public void UpdateProperty(String propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }
}
